package com.xyhuo.leetcode.protectTest.packetOne;

public class ProtectTest {

    protected int x;

    public class InnerClass {
        public void test() {

            x = 2;
        }
    }
}

class BrotherClass {
    public void test(){
        ProtectTest p=new ProtectTest();
        p.x=3;
    }
}
